package com.iraeta.entity.gift;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 礼品表
 * </p>
 *
 * @author chenbin
 * @since 2023-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("gift")
public class Gift implements Serializable {

    private static final long serialVersionUID = 1L;

    public Gift(){
        this.setDeleted(0);
    }

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 分类id
     */
    private Integer typeId;

    /**
     * 礼品名称
     */
    private String name;

    /**
     * 礼品规格
     */
    private String guige;

    /**
     * 礼品品牌
     */
    private String pinpai;

    /**
     * 礼品描述
     */
    private String descption;
    /**
     * 删除标志位
     */
    private Integer deleted;
}
